package com.atguigu.java8.lambdaDemo;

import lombok.*;

/**
 * @author Xiaohong X Gou
 * @createTime 2022-10-11 10:05
 * @description
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Employee {
    public Employee(int id){
        this.id=id;
    }
    public Employee(int id,int age){
        this.id=id;
        this.age=age;
    }
    private int id;
    private  String name;
    private Integer age;
    private Double salary;
    private Status status;
    public Employee(int id, String name, int age, double salary) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.salary = salary;
    }

    public enum Status{
        FREE,
        BUSY,
        VOCATION;
    }
}
